package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;
import io.swagger.v3.oas.annotations.media.Schema;
import com.huawang.business.dto.ProjectIdDTO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class QueryPropertyGroupInfoDTO extends ProjectIdDTO {
    @NotBlank(message = ParamErrorConstants.NO_PROJECT_ID)
    private String projectId;

    @Schema(title = "属性组id")
    @NotBlank(message = ParamErrorConstants.NO_PROPERTY_GROUP_ID)
    private String propertyGroupId;

    @Schema(title = "模型id")
    @NotBlank(message = ParamErrorConstants.NO_INSTANCE_ID)
    private String instanceId;

    @Schema(title = "需要查询的模型属性组内包含的模型id，若为空则返回全部数据")
    private List<String> rowIds;
}
